﻿using UnityEngine;

public class ResourceHelper
{
    public static T Load<T>(string path) where T : UnityEngine.Object
    {
        return Resources.Load<T>(path);
    }
    public static async ET.ETTask<T> LoadAsync<T>(string path) where T : UnityEngine.Object
    {
        return await Resources.LoadAsync<T>(path) as T;
    }
}
